module(
    name = "rules_jni",
    compatibility_level = 1,
    version = "0.6.0",
)

bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "platforms", version = "0.0.5")

download_jni_headers = use_extension(
    "@rules_jni//bzlmod:extensions.bzl",
    "download_jni_headers",
)

use_repo(
    download_jni_headers,
    "com_github_openjdk_jdk_jni_h",
    "com_github_openjdk_jdk_unix_jni_md_h",
    "com_github_openjdk_jdk_windows_jni_md_h",
)
